For socket have used URLSessionWebSocketTask, it is working on watchOS6 when connected with phone. But on independent watch with LTE it is not working. we are getting ErrorDomain=NSURLErrorDomain=-1009, "there is no connection to the internet".
Post
Replies
Boosts
Views
Activity
We can get data through HKObserverQuery and https://developer.apple.com/documentation/healthkit/hkhealthstore/1614175-enablebackgrounddelivery
even if app is in background. Can we access healthkit data even when our app is in killed state?
While working with Xcode 11 and watchOS6 , I am unable to update WKInterfaceController Title text when controller is added inreloadRootPageControllers, self.setTitle() get updated in willActivate() method only. After that when I programmatically update from button press it doesn't update. Though when we slightly slide the page, updated text appear. As not geting any method so slight scroll page so that updated value appear in title to resolve currently. Please also let me know is it bug that title is not updated, as if change is done after willActivate() shows up when page is slightly scroll. Above is working with watchOS5 sdk.